﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Tra_InsertNopass.aspx.cs" Inherits="Agency_Tra_InsertNopass" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 4px; height: 34px;">
                <img src="../images/intro_left.gif" width="4" height="34" /></td>
            <td class="intro_wordbg" style="height: 34px; background-image:url('../images/intro_bg.gif'); background-repeat:repeat; font-size: 15pt; color: #ffffff;">
                导入未审核</td>
            <td background="../images/intro_bg.gif" style="height: 34px">
                </td>
        </tr>
    </table>
     <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="2" BackColor="#E6E2D8" BorderColor="#999999"
        BorderWidth="1px" Font-Names="宋体" Font-Size="12" Width="100%" BorderStyle="Solid"
        OnNextButtonClick="Wizard1_NextButtonClick" OnSideBarButtonClick="Wizard1_SideBarButtonClick"
        FinishCompleteButtonText="开始导入" 
        OnFinishButtonClick="Wizard1_FinishButtonClick">
        <StepStyle BackColor="#F1FEFA" BorderColor="#E6E2D8" BorderStyle="Solid" BorderWidth="2px" />
        <SideBarStyle BackColor="#99CCFF" Font-Size="12pt" VerticalAlign="Top" HorizontalAlign="Center"
            Width="160px" />
        <NavigationButtonStyle BackColor="White" BorderColor="#C5BBAF" BorderStyle="Solid"
            BorderWidth="1px" Font-Names="宋体" Font-Size="10pt" ForeColor="#1C5E55" />
        <WizardSteps>
            <asp:WizardStep runat="server" Title="选择源文件" ID="aa">
                <div style="height: 400px; width: 100%">
                    <table style="width: 100%;">
                        <tr>
                            <td style="color: #0000CC; font-size: 14; font-weight: bold;">
                                请选择需要导入的未审核文件</td>
                        </tr>
                        <tr>
                            <td style="font-weight: bold;">
                                选择文件:<asp:FileUpload ID="filepath" unselectable="on" runat="server" Width="400px" />
                            </td>
                        </tr>
                    </table>
                    <br />
                    <span style="font-weight: bold; color: Blue;">未审核文件的格式举例如下<br />
                        说明:<br />
                        &nbsp;&nbsp;1.文件类型必须是Excel电子文档;<br />
                        &nbsp;&nbsp;2.文件的首行必须是表头;<br />
                        &nbsp;&nbsp;3.表头为<span style="color: Red;">红色</span>标记的表示在企业必须项,且表头名称不得改变,其余表头可根据需要自行设置;<br />
                        <br />
                        </span>
                    <table width="100%" border="1" cellspacing="0" bordercolor="black" style="border-collapse: collapse;
                        text-align: center;" cellpadding="0">
                        <tr>
                            <td style="width: 100px; color: Red; height: 34px;">
                                流水号&nbsp;</td>
                            <td style="width: 100px; height: 34px;">
                                通用名

                            </td>
                            <td style="width: 100px; height: 34px;">
                                剂型
                            </td>
                            <td style="width: 100px; height: 34px;">
                                规格
                            </td>
                            <td style="width: 100px; height: 34px;color:Red">
                                主配送企业</td>
                               <td style="width: 100px; height: 34px; color:Red">
                                   二级配送企业

                            </td>
                            <td style="width: 100px; color: Red; height: 34px;">
                                配送地区&nbsp;</td>
                            
                        </tr>
                        <tr>
                            <td style="width: 100px">
                                NNNNN</td>
                            <td style="width: 100px">
                                注射用青霉素钠

                            </td>
                            <td style="width: 100px">
                                粉针剂剂
                            </td>
                            <td style="width: 100px">
                                0.48g(80万IU)
                            </td>
                            <td style="width: 100px">
                                XXXX股份有限公司医 &nbsp;</td>
                                <td style="width: 100px">
                                XXXX公司医药贸易中心
                            </td>
                            <td style="width: 100px">
                                XX市&nbsp;</td>
                            
                        </tr>
                    </table>
                    <br />
                    <center>
                        &nbsp;</center>
                    <br />
                    <asp:Label ID="labmess0" runat="server" ForeColor="Red" Text="Label" Visible="False"></asp:Label>
                </div>
            </asp:WizardStep>
            <asp:WizardStep runat="server" Title="选择子表" ID="bb">
                <div style="height: 400px; width: 100%">
                    <table width="100%">
                        <tr>
                            <td style="color: #0000CC; font-size: 14; font-weight: bold;">
                                请选择子表:&nbsp;
                                <asp:DropDownList ID="DDLsheet" runat="server" Width="174px">
                                </asp:DropDownList>
                            </td>
                        </tr>
                    </table>
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <center>
                        &nbsp;</center>
                    <br />
                    <asp:Label ID="labmess1" runat="server" ForeColor="Red" Text="Label" Visible="False"></asp:Label>
                </div>
            </asp:WizardStep>
            <asp:WizardStep runat="server" Title="打开未审核文件" ID="cc">
                <div style="height: 400px; width: 100%; overflow: scroll;">
                    <table width="100%">
                        <tr>
                            <td style="color: #0000CC; font-size: 14; font-weight: bold;" align="left">
                                待导入的未审核文件&nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="left" style="color: red">
                                &nbsp;<asp:Label ID="labmess2" runat="server" ForeColor="Red" Text="Label" Visible="False"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:GridView ID="GvSource" Width="100%" CssClass='table_table' runat="server">
                                    <RowStyle CssClass="table_td" />
                                    <HeaderStyle CssClass="table_title" />
                                </asp:GridView>
                            </td>
                        </tr>
                    </table>
                </div>
            </asp:WizardStep>
            <asp:WizardStep ID="dd" runat="server" Title="开始导入">
                <div style="height: 400px; width: 100%">
                    
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <center>
                        &nbsp;</center>
                    <br />
                    <asp:Label ID="labmess3" runat="server" ForeColor="Red" Text="Label" Visible="False"></asp:Label>
                </div>
            </asp:WizardStep>
            <asp:WizardStep ID="ee" runat="server" StepType="Complete" Title="结果">
          <div style="height: 400px; width: 100%">
                    <table width="100%" border="1" cellspacing="0" bordercolor="#ccffcc" style="border-collapse: collapse;text-align:center;" cellpadding="0">
                        <tr>
                            <td style="height: 17px; font-weight:bold; font-size:13px; text-align:left;">
                                <asp:Label ID="labmess4" runat="server" ForeColor="Red" Text="Label" Visible="False"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:GridView ID="GvNoImport" Width="100%" CssClass='table_table'   runat="server">
                                    <RowStyle CssClass="table_td" />
                                    <HeaderStyle CssClass="table_title" />
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td style=" text-align:center;">
                                <asp:Button ID="btnExcel" Text="保存为Excel" class="button_bg6" style="width: 90px" runat="server" Width="143px" OnClick="btnExcel_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
            </asp:WizardStep>
        </WizardSteps>
        <SideBarButtonStyle ForeColor="#660066" Font-Bold="True" Font-Size="12pt" Height="26px" />
    </asp:Wizard>
    </div>
    </form>
</body>
</html>
